GetThemeAccentColors
NEW WITH THE APPEARANCE MANAGER
Gets a copy of the accent colors for the platinum theme.
pascal OSStatus GetThemeAccentColors (CTabHandle *outColors);
outColors
- On output, a handle to the accent colors
- function result
- A result code; see "Result Codes". The result
appearanceThemeHasNoAccents
is returned if the current theme has no accent colors.DESCRIPTION
TheGetThemeAccentColors
function returns a copy of an element's accent colors, but only for the platinum theme. IfGetThemeAccentColors
is called when another theme is current, it returns an error.SPECIAL CONSIDERATIONS
Make sure Appearance Manager 1.0.1 is present before calling theGetThemeAccentColors
function. See "Appearance Manager Gestalt Selector Constants" for details on how to determine if the Appearance Manager is present and what its version is, if so.